class Rect:
    def __init__(self,len1,wid):
        self.len1 = len1
        self.wid  = wid
    def area(self):
        area = self.len1*self.wid
        print(area)

self = Rect(10,5)
self.area()
